package Entity;

import java.io.Serializable;
import javax.persistence.Entity;

@Entity
public class ValueAddedService extends ServicePlan implements Serializable {

    private static final long serialVersionUID = 1L;
    private int vasNumber;
    private String valueAddSvcName;
    private Double valueAddUnitFee;     //for both fixed and variable fees. if fixed. if(quantity >1) then calculate
    private Long startDate;
    private Long endDate;
    
    public ValueAddedService(){  
    }
    
    public void createValueAddedService(int vNum, String name, Double unitFee){
        this.vasNumber = vNum; 
        this.valueAddSvcName = name; 
        this.valueAddUnitFee = unitFee; 
        this.startDate = System.currentTimeMillis(); 
    }

    public int getVasNumber() {
        return vasNumber;
    }

    public void setVasNumber(int vasNumber) {
        this.vasNumber = vasNumber;
    }

    public String getValueAddSvcName() {
        return valueAddSvcName;
    }

    public void setValueAddSvcName(String valueAddSvcName) {
        this.valueAddSvcName = valueAddSvcName;
    }

    public Double getValueAddUnitFee() {
        return valueAddUnitFee;
    }

    public void setValueAddUnitFee(Double valueAddUnitFee) {
        this.valueAddUnitFee = valueAddUnitFee;
    }

    public Long getStartDate() {
        return startDate;
    }

    public void setStartDate(Long startDate) {
        this.startDate = startDate;
    }

    public Long getEndDate() {
        return endDate;
    }

    public void setEndDate(Long endDate) {
        this.endDate = endDate;
    }
}
